package com.kaifamiao.demo.d0824;

import java.sql.Date;

public class Demo04 {

    public static void main(String[] args) {
        Date date = new Date(System.currentTimeMillis());

        java.util.Date d = date;

        System.out.println(date);

        /**
         * java.util.Date
         * java.util.Calendar
         * Date <--> Calendar
         * String <--> Date
         */
    }
}
